#coding:utf-8
'''
* coder  : dzlua
* email  : 505544956@qq.com
* module : spider
* path   : cpdq
* file   : run.py
* time   : 2017-11-13 13:59:01
'''
#--------------------#
from cpdq import Cpdq
#--------------------#

#--------------------#
sp = Cpdq('localhost', 'dzlua', 'dzlua', 'spider')
#sp.start()
sp.write_to_file('/home/dzlua/dzlua/tmp/cpdq')
sp.wait()
sp.close()
#--------------------#
